package com.ruixinzheng.mvidemo.state

sealed class MainState {
    object Idle : MainState()
    object Loading : MainState()
    data class Data(val data: ArrayList<String>) : MainState()
    data class Error(val error: String?) : MainState()

}
